#include <gtest/gtest.h>

struct Test10 : ::testing::Test
{
    char* getBuff()
    {
       return buff;
    }
private:
    char buff[100];
};

extern void changeBuff(char* p);

TEST_F(Test10, should_change_buff_to_abcd)
{
    char* p = getBuff();
    changeBuff(p);
    ASSERT_TRUE(p[0] == (char)0xab);
    ASSERT_TRUE(p[1] == (char)0xcd);
}
